<!-- 个人信息 -->
{% extends "base.html" %}
{% block title %}个人信息{% endblock %}
{% block content %}
    {% load static %}
    <div style="height: 340px" id="BG">
        <div class="col-md-4"></div>
        <div class="col-md-4">
            <div class="panel" style="margin-top: 15%">
                <div class="contact-client-single ct-client-b-mg-30 ct-client-b-mg-30-n shadow-reset">
                    <div class="row">
                        <div class="col-lg-4">
                            <div class="contact-client-img">
                                <img id="avatarimg" src="{% static userinfo.profile.avatar.url %}" width="200" height="200" alt="">
                                <h1><a id="group" data-type="select" data-pk="1" data-value="5" data-source="/groups" data-title="Select group" href="/modifypwd/" class="editable editable-click">修改密码</a></h1>
                            </div>
                        </div>
                        <div class="col-lg-8">
                            <div class="contact-client-content">
                                <h2><a href="/home/">{{ userinfo.username }}</a></h2>
                            </div>
                            <div class="contact-client-address">
                                <p><strong>性别：</strong>{{ userprofileinfo.male | yesno:"男,女" }}</p>
                                <p class="address-client-ct"><strong>我的电子邮件：</strong>{{ userinfo.email }}</p>
                                <p><strong>最近登录：</strong>{{ userinfo.last_login }}</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

{% endblock %}